package com.code.softeem.zuoye.demo1;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/20 16:57
 * @description
 */
public class Test {
    public static void main(String[] args) {
        TankA tankA = new TankA("攻击力较高", "生命值较弱", "防御力较弱");
        TankB tankB = new TankB("攻击力适中", "生命值适中", "防御力适中");
        TankC tankC = new TankC("攻击力较弱", "生命值较高", "防御力较高");

        tankA.getInfo();
        tankB.getInfo();
        tankC.getInfo();
    }
}
